import Vue from 'vue'
import App from './App'
import store from '@/store'
import uniLogin from '@/components/uni-login/login.vue';
import scHome from '@/components/sc-home/sc-home.vue';
import mpShare from '@/mixins/mpShare.js';
Vue.component('uni-login',uniLogin);

Vue.config.productionTip = false
	import shopLoading from '@/components/shopLoading/shopLoading.vue';
	import scNo from '@/components/sc-no/sc-no.vue';
App.mpType = 'app';
Vue.prototype.toast = (msg) => {
	uni.showToast({
		title: msg,
		duration: 2000,
		position: 'bottom',
		icon: 'none',
		mask: true
	});
};
Vue.prototype.Imgurl = 'https://jy-shops.oss-cn-beijing.aliyuncs.com/client/image/';
Vue.component('shopLoading',shopLoading)
Vue.component('scNo',scNo)
Vue.component('scHome',scHome)
Vue.mixin(mpShare);
const app = new Vue({
	store,
    ...App
})
app.$mount()
